package com.javasm.service.goodsService;


import com.javasm.common.page.PageResult;
import com.javasm.domin.criteria.goodsCriteria.GdTypeCriteria;
import com.javasm.domin.entity.goodsEntity.GdType;
import com.javasm.domin.vo.goodsVo.GdTypeVo;
import com.javasm.service.base.BaseService;

import java.util.List;

/**
* @author Administrator
* @description 针对表【gd_type】的数据库操作Service
* @createDate 2021-11-19 11:19:10
*/
public interface GdTypeService extends BaseService<GdType> {


    /**
     * 树形
     * @param gdTypeCriteria
     * @return
     */
    PageResult<GdTypeVo> selectCriteria(GdTypeCriteria gdTypeCriteria);



    List<GdTypeVo>  selectByPid();


    int batchDeleteByIds(List<Long> ids);


    List<GdTypeVo> getAllTypeTree();

    int selectPid(Long id);


    List<GdTypeVo> getSelectTree();


    int updateType(Long id);



}
